package com.sch.hospital.domain;

import java.time.LocalDate;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 用户反馈对象 feedback
 * 
 * @author ruoyi
 * @date 2025-06-30
 */
public class Feedback
{
    /** 反馈ID，自增主键 */
    private Long id;

    /** 用户ID */
    private Long userId;

    /** 反馈类型 */
    private String type;

    /** 反馈标题 */
    private String title;

    /** 反馈内容 */
    private String content;

    /** 图片路径，多个以逗号分隔 */
    private String images;

    /** 联系方式 */
    private String contact;

    /** 是否匿名:0不匿名,1匿名 */
    private Long isAnonymous;

    /** 状态:0待处理,1处理中,2已回复 */
    private Long status;

    /** 回复内容 */
    private String reply;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date replyTime;

    /** 回复人ID */
    private Long replyBy;

    /** 创建时间 */
    private LocalDate createTime;

    /** 更新时间 */
    private LocalDate updateTime;

    public Feedback() {
    }

    public Feedback(Long id, Long userId, String type, String title, String content, String images, String contact, Long isAnonymous, Long status, String reply, Date replyTime, Long replyBy, LocalDate createTime, LocalDate updateTime) {
        this.id = id;
        this.userId = userId;
        this.type = type;
        this.title = title;
        this.content = content;
        this.images = images;
        this.contact = contact;
        this.isAnonymous = isAnonymous;
        this.status = status;
        this.reply = reply;
        this.replyTime = replyTime;
        this.replyBy = replyBy;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取
     * @return images
     */
    public String getImages() {
        return images;
    }

    /**
     * 设置
     * @param images
     */
    public void setImages(String images) {
        this.images = images;
    }

    /**
     * 获取
     * @return contact
     */
    public String getContact() {
        return contact;
    }

    /**
     * 设置
     * @param contact
     */
    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * 获取
     * @return isAnonymous
     */
    public Long getIsAnonymous() {
        return isAnonymous;
    }

    /**
     * 设置
     * @param isAnonymous
     */
    public void setIsAnonymous(Long isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    /**
     * 获取
     * @return status
     */
    public Long getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    /**
     * 获取
     * @return reply
     */
    public String getReply() {
        return reply;
    }

    /**
     * 设置
     * @param reply
     */
    public void setReply(String reply) {
        this.reply = reply;
    }

    /**
     * 获取
     * @return replyTime
     */
    public Date getReplyTime() {
        return replyTime;
    }

    /**
     * 设置
     * @param replyTime
     */
    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    /**
     * 获取
     * @return replyBy
     */
    public Long getReplyBy() {
        return replyBy;
    }

    /**
     * 设置
     * @param replyBy
     */
    public void setReplyBy(Long replyBy) {
        this.replyBy = replyBy;
    }

    /**
     * 获取
     * @return createTime
     */
    public LocalDate getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateTime
     */
    public LocalDate getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(LocalDate updateTime) {
        this.updateTime = updateTime;
    }

    public String toString() {
        return "Feedback{id = " + id + ", userId = " + userId + ", type = " + type + ", title = " + title + ", content = " + content + ", images = " + images + ", contact = " + contact + ", isAnonymous = " + isAnonymous + ", status = " + status + ", reply = " + reply + ", replyTime = " + replyTime + ", replyBy = " + replyBy + ", createTime = " + createTime + ", updateTime = " + updateTime + "}";
    }
}
